using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_user_addres
    {
        private int? _id;
        private int? _uid;
        private string _adrtopics = String.Empty;
        private string _usrcountry = String.Empty;
        private string _usrprovince = String.Empty;
        private string _usrcity = String.Empty;
        private string _adrcomment = String.Empty;
        private string _adrpost = String.Empty;
        private string _adrtel = String.Empty;
        private string _adrfax = String.Empty;
        private string _adrcontact = String.Empty;
        private DateTime? _indate;
        private int? _usetime;

        public hfg_user_addres()
        {
        }

       

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _uid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _adrtopics = reader.GetString(2);
        //        if (!reader.IsDBNull(3)) _usrcountry = reader.GetString(3);
        //        if (!reader.IsDBNull(4)) _usrprovince = reader.GetString(4);
        //        if (!reader.IsDBNull(5)) _usrcity = reader.GetString(5);
        //        if (!reader.IsDBNull(6)) _adrcomment = reader.GetString(6);
        //        if (!reader.IsDBNull(7)) _adrpost = reader.GetString(7);
        //        if (!reader.IsDBNull(8)) _adrtel = reader.GetString(8);
        //        if (!reader.IsDBNull(9)) _adrfax = reader.GetString(9);
        //        if (!reader.IsDBNull(10)) _adrcontact = reader.GetString(10);
        //        if (!reader.IsDBNull(11)) _indate = reader.GetDateTime(11);
        //        if (!reader.IsDBNull(12)) _usetime = reader.GetInt32(12);
        //    }
        //}

       

        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? uid
        {
            get { return _uid; }
            set { _uid = value; }
        }

        public string adrtopics
        {
            get { return _adrtopics; }
            set { _adrtopics = value; }
        }

        public string usrcountry
        {
            get { return _usrcountry; }
            set { _usrcountry = value; }
        }

        public string usrprovince
        {
            get { return _usrprovince; }
            set { _usrprovince = value; }
        }

        public string usrcity
        {
            get { return _usrcity; }
            set { _usrcity = value; }
        }

        public string adrcomment
        {
            get { return _adrcomment; }
            set { _adrcomment = value; }
        }

        public string adrpost
        {
            get { return _adrpost; }
            set { _adrpost = value; }
        }

        public string adrtel
        {
            get { return _adrtel; }
            set { _adrtel = value; }
        }

        public string adrfax
        {
            get { return _adrfax; }
            set { _adrfax = value; }
        }

        public string adrcontact
        {
            get { return _adrcontact; }
            set { _adrcontact = value; }
        }

        public DateTime? indate
        {
            get { return _indate; }
            set { _indate = value; }
        }

        public int? usetime
        {
            get { return _usetime; }
            set { _usetime = value; }
        }
        #endregion

    }
}
